import java.util.Scanner;
public class Study2 {
	public static void main(String[]args) {
		Scanner sr=new Scanner(System.in);
		System.out.println("请输入数字");
		int num1= sr.nextInt();
		System.out.println(num1%2==0 ?num1:num1+1);
	}
}
